﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace 第五题
{
    class Program
    {
        static void Main(string[] args)
        {
            int i ;
            int sum = 0;
            for (i=1; i <= 100;i++ )
            {

                sum = sum + i;
            }
            Console.WriteLine("累加结果是：" + sum);
            Console.ReadKey();

        }
    }
}
